/* picker 数据选择 */
$picker: (
  'height': 32px,
);

@include b('picker') {
  .el-input .el-input__inner {
    font-size: getCssVar('form-item', 'font-size');
    color: getCssVar('form-item', 'text-color');
    border-color: getCssVar('form-item', 'border-color');
  }

  .el-input .el-input__inner::placeholder {
    color: getCssVar('form-item', 'placeholder-color');
  }

  .el-input.is-disabled .el-input__inner {
    color: getCssVar('form-item', 'disabled-color');
    background-color: getCssVar('form-item', 'disabled-bg-color');
    border-color: getCssVar('form-item', 'disabled-border-color');
  }

  ion-icon {
    cursor: pointer;
  }

  @include e('buns-position') {
    position: relative;
    display: inline-block;
  }

  @include e('btns') {
    position: absolute;
    right: 0;
    @include flex;

    height: getCssVar('picker', 'height');

    span {
      @include flex($direction: column, $horizontal: center);
    }
  }

  @include e('autocomplete') {
    @include flex;

    .el-autocomplete {
      width: 100%;
    }
  }

  @include e('transfer-item') {
    padding: 5px;
    cursor: pointer;

    &:hover {
      background-color: getCssVar('form-item', 'hover-bg-color');
    }
  }

  @include e('link') {
    width: 32px;
    height: 32px;
    padding: 0 6px;
    font-size: 16px;
  }

  @include m(disabled) {
    ion-icon {
      pointer-events: none;
    }
  }

  @include m(readonly) {
    color: getCssVar('form-item', 'readonly-color');
  }
}
